
#include <BCube>
#include <BMesh>
#include <BCollider>

namespace BWE
{

	class ICollider
	{
		class motionTrack
		{

		};

		class MotionState
		{
			MotionState()
			{

			}
			BVector		oldVelocity;
			BVector		newVelocity;
		};

		class CollidePair
		{
			BMatrix		matrixA;
			BShape*		shapeA;
		
			BMatrix		matrixB;
			BShape*		shapeB;
		};

	public:
		ICollider();
		~ICollider();

		void setStepTime(double stepTime);
		double stepTime() const;

		void setGravity(const BVector& gravity);
		const BVector& gravity() const;

	private:

	private:
		double		_stepTime;
		BVector		_gravity;

		BList<CollidePair>	_collidePairs;
	};

}
